/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication1;

/** The Position class
 *  this class includes Ctor and toString re-implmentation
 *
 */
public class Position {
    // Position class memebers
    public int x,y;

    //Postion class Ctor
    public Position(int x,int y)
    {
        this.x = x;
        this.y = y;
    }
    

    // Override toString() function.
    // the format is " X,Y "
    public String toString()
    {
        return (this.x+","+this.y);
    
    }

}
